/* author: Mariana Horita
   mariana.horita@gmail.com
   file: AddRandomData.cs*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace K_Vizinhos
{
    public partial class AddRandomData : Form
    {
        public int quantidade {
            get
            {
                return Convert.ToInt32( nudQuantidade.Value);
            }
            set
            {
                nudQuantidade.Value = value;
            }
        }

        public bool randomData
        {
            get
            {
                return rdbAleatorio.Checked;
            }
            set
            {
                rdbAleatorio.Checked = value;
                rdbIgual.Checked = ! value;
            }
        }

        public AddRandomData()
        {
            InitializeComponent();
        }
    }
}
